import request from '@/utils/request'
export const login = (data) => {
  return request({
    url: '/login',
    method: 'post',
    data
  })
}
export const wxCallback = (data) => {
  return request({
    url: '/wxCallback',
    method: 'post',
    data
  })
}
export const getInfo = (data) => {
  return request({
    url: '/getInfo',
    method: 'get',
    data
  })
}
//获取微信手机号

export const wxPhone = (data) => {
  return request({
    url: '/wxPhone',
    method: 'post',
    data
  })
}
